import { HttpException } from '@exceptions/http.exception';

export class DepartmentNotFoundException extends HttpException {
  constructor(message: string = '部门不存在') {
    super(404, message);
  }
}

export class DepartmentExistsException extends HttpException {
  constructor(message: string = '部门已存在') {
    super(503, message);
  }
}
